<!-- Created by duwanfu on 2018/12/2 -->
<template>
  <div class="wraper">
    <div class="notice-carousel">
      <NoticeCarousel :contentArr="informs"></NoticeCarousel>
    </div>
  </div>
</template>

<script>
  import NoticeCarousel from '../../components/noticeCarousel/noticeCarousel'
  export default {
    name: "activity-jd",
    components: {NoticeCarousel},
    data() {
      return {
        informs: [
          '182****2464已领取200元京东E卡',
          '134****5666已领取200元京东E卡',
          '138****0015已领取200元京东E卡',
          '184****9815已领取200元京东E卡',
          '137****6532已领取200元京东E卡',
          '134****1213已领取200元京东E卡',
          '185****1164已领取200元京东E卡',
          '186****1346已领取200元京东E卡',
          '188****6668已领取200元京东E卡',
          '136****7734已领取200元京东E卡',
        ]
      }
    }
  }
</script>

<style lang="scss" scoped>
  .wraper {
    position: relative;
    width: 100%;
    height: 21.63rem;
    background: url("../../assets/imgs/activity-jd.png") no-repeat;
    background-size: 100% 21.63rem;
    .notice-carousel {
      position: absolute;
      top: 6.75rem;
      left: 50%;
      transform: translateX(-50%);
      width: 6.5rem;
      height: .88rem;
      box-sizing: border-box;
      /*padding-left: 1rem;*/
      text-align: center;
      color: #dd1f32;
      font-size: .32rem;
      border-radius: .44rem;
      background: #fff;
    }
  }
</style>
